<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <!--<form action="/sforms/contact/" method="post">-->
        <!--{% csrf_token %}-->
        <!--{{ form }}-->
        <!--<table>-->
            <!--{{ form.as_table }}-->
        <!--</table>-->
        <!--{{ form.as_p}}-->
        <!--{{ form.as_ul}}-->
        <!--<input type="submit" value="Submit" />-->
    <!--</form>-->

    <!--<form action="/sforms/contact/" method="post">-->
        <!--{% csrf_token %}-->
        <!--{{ form.non_field_errors }}-->
        <!--<div class="fieldWrapper">-->
            <!--{{ form.subject.errors }}-->
            <!--<label for="{{ form.subject.id_for_label }}">Email subject:</label>-->
            <!--{{ form.subject }}-->
        <!--</div>-->
        <!--<div class="fieldWrapper">-->
            <!--{{ form.message.errors }}-->

            <!--{% if form.message.errors %}-->
                <!--<ol>-->
                <!--{% for error in form.message.errors %}-->
                    <!--<li><strong>{{ error|escape }}</strong></li>-->
                    <!--<li><strong>{{ error}}</strong></li>-->
                <!--{% endfor %}-->
                <!--</ol>-->
            <!--{% endif %}-->

            <!--<label for="{{ form.message.id_for_label }}">Message:</label>-->
            <!--{{ form.message}}-->
        <!--</div>-->
        <!--<input type="submit" value="Submit" />-->
    <!--</form>-->

    <!--<div class="fieldWrapper">-->
        <!--{{ form.subject.errors }}-->
        <!--{{ form.subject.label_tag }}-->
        <!--{{ form.subject }}-->
    <!--</div>-->


    <form action="/sforms/contact/" method="post">
        {% csrf_token %}
            {% for field in form.visible_fields %}
                <div class="fieldWrapper">
                    {{ field.errors }}
                    {{ field.label_tag }} {{ field }} {{field.id_for_label}} {{field.value}}
                    {{ field.html_name }}
                    {% if field.help_text %}
                        <p class="help">{{ field.help_text|safe }}</p>
                    {% endif %}
                </div>
            {% endfor %}
            {% for hidden in form.hidden_fields %}
                {{ hidden }}
            {% endfor %}
        <input type="submit" value="Submit" />
    </form>
</body>
</html>